@leftbg: #364a6b; //左侧背景
@leftactivebg: #165eb2; //左侧激活菜单背景
@topbg: #3b5a88; //顶部背景
@topcolor: #91b9f4; //顶部文字颜色
@fontcolor: #fff; //字体颜色
@fontmenu1: #90b8f3; //一级菜单字体颜色
@fontactive: #6da6ff; //激活字体颜色
@centerbg: #2a364c; //中间背景色
@radius: 3px;
// 按钮颜色
@bluebtn: #0082d6;
@greenbtn: #04be5b;
@violetbtn: #a93aba;
@yellowbtn: #ff9947;
@lightgreenbtn: #9ebf16;
@redbtn: #d2335c;
@darkredbtn: #982242;
@lightbluebtn: #0082d6;
//尺寸
@size80: 45px;
@size250: 200px;
/*****public ele end***********/
.btnhoverbg {
  background: rgba(255, 255, 255, 0.2);
}
.font1 {
  font-size: 16px;
}
.font2 {
  font-size: 14px;
}
.font3 {
  font-size: 12px;
}
//顶部菜单
.navbar-wrapper {
  height: @size80;
}
.navbar {
  background: @topbg;
  .logo {
    height: @size80;
    line-height: @size80;
    float: left;
    width: calc(@size250 - 25px);
    position: relative;
    img {
      height: 28px;
      position: absolute;
      top: 50%;
      transform: translate(0, -50%);
    }
  }
}
.togglemenu {
  color: #fff;
  height: @size80;
  float: left;
  width: 40px;
  cursor: pointer;
  position: relative;
  i {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translate(0, -50%);
    font-weight: bold;
    font-size: 28px;
    color: #90b9f1;
  }
}
.togglemenu:hover {
  .btnhoverbg;
}
#Hui-userbar {
  position: relative;
  float: right;
  height: @size80;
  ul {
    color: @topcolor;
    a {
      color: @topcolor;
    }
  }
}
.navbar-wrapper {
  color: @topcolor;
}
.user-avatar {
  position: relative;
  padding: 0 10px;
  i {
    font-size: 28px;
    color: @topcolor;
  }
}

.btnhover {
  padding: 0 10px;
  cursor: pointer;
  i {
    color: @topcolor;
  }
}
.btnhover:hover {
  .btnhoverbg;
}
//**************左侧菜单****************************************************
.Hui-aside {
  width: @size250;
  background-color: @leftbg;
  .menu_dropdown {
    dt {
      .font1;
      color: @fontmenu1;
      border-bottom: none;
    }
    dt.selected {
      background: @leftactivebg;
    }
    dd {
      .font2;
      a,
      .hassubmenu {
        position: relative;
        line-height: 32px;
        padding-left: 26px;
        border-bottom: none;
        color: #a4b4c4;
        cursor: pointer;
        font-weight: normal;
        i.menu_dropdown-arrow {
          position: absolute;
          right: 8px;
          top: 50%;
          transform: translate(0, -50%);
        }
        i.selected {
          transform: rotate(180deg);
          top: 0;
        }
      }
      .submenu {
        .font3;
        padding-left: 2em;
        display: none;
      }
    }
  }
}
.Hui-aside .menu_dropdown dt i.Hui-iconfont {
  color: @fontmenu1;
}
/*左侧二级导航菜单*/
.Hui-aside .menu_dropdown dt:hover {
  color: #fff;
}

.Hui-aside .menu_dropdown li a {
  color: #a4b4c4;
}

.Hui-aside .menu_dropdown li a:hover {
  color: #6aa5ff;
}

.Hui-aside .menu_dropdown li.current a,
.menu_dropdown li.current a:hover {
  color: #148cf1;
}

.Hui-aside .menu_dropdown dt .Hui-iconfont {
  color: #a0a7b1;
}

.Hui-aside .menu_dropdown dt .menu_dropdown-arrow {
  color: #b6b7b8;
}

.dislpayArrow a {
  background: url(icon_arrow.png) no-repeat 0 0;
}

/**************************中间****************************/
.Hui-tabNav {
  background: @leftbg;
}
.Hui-tabNav .acrossTab li {
  background-image: none;
  background-color: @topbg;
  color: #6ea7ff;
  margin-right: 10px;
  em {
    display: none;
  }
}
.Hui-tabNav .acrossTab li.activehome {
  background: none;
  margin-right: 0;
  font-size: 18px;
  color: #cbd3e0;
}
.Hui-tabNav-more {
  .btn-default {
    background: @topbg;
    border-color: @topbg;
    color: #fff;
  }
  .btn-default:hover,
  .btn-default:active {
    background: @leftactivebg;
    color: #fff;
    border-color: @leftactivebg;
  }
}
.dislpayArrow {
  display: none;
}

/***************88框架里面的页面**********************/
.btn {
  height: 22px;
  font-size: 12px;
  padding: 0 12px;
  border-radius: 11px;
  i {
    line-height: unset;
  }
}
.btn-lightgreen {
  background: @lightgreenbtn;
  border: solid 1px @lightgreenbtn;
  color: #fff;
}
.btn-lightgreen:hover {
  background: #87a40f;
  border: solid 1px #87a40f;
  color: #fff;
}
.ifmpage {
  background: @centerbg;
  padding: 0 30px;
}
.btns {
  padding: 10px;
  border: solid 1px #ddd;
  border-radius: 5px;
}
.btns .search {
  width: 200px;
  border-radius: 11px;
  border: solid 1px #d2d2d2;
  outline: none;
  margin: 0;
  font-size: 12px;
  height: 22px;
  padding: 0 12px;
}
.has-switch {
  height: 22px;
  min-width: 70px;
  margin-left: 20px;
  float: left;
  label {
    border: 0;
    margin: 0;
    font-size: 12px;
    line-height: 15px;
  }
  span {
    padding: 4px;
    color: #005fcc;
    font-size: 12px;
    line-height: 15px;
  }
}

.filterbox {
  padding-top: 10px;
  display: none;
  .layui-form-item {
    margin-bottom: 0;
  }
  .layui-input-inline {
    margin-right: 20px;
  }
  .layui-form-select dl dd,
  .layui-form-select dl dt {
    height: 27px;
    line-height: 27px;
  }
  input {
    outline: none;
    height: 30px;
    margin: 0;
    width: 200px;
  }
  button {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
  }
}
/**表格上方的按钮组合**/
.topbtn {
  .layui-form-switch {
    margin: 0;
  }
}
.layadmin-pagetabs {
  background: #f4f4f5;
  box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 1);
}
.layadmin-pagetabs .layui-tab-title li.layui-this,
.layadmin-pagetabs .layui-tab-title li:hover {
  background: #fff;
}
/**************8表格样式*************************/
.layui-table,
.layui-table-view,
table {
  margin: 0;
}
/******************弹窗******************************/
/**重新设置按钮的样式**/
// .layerpage {
//   .formbtn {
//     padding: 15px 0;
//     text-align: center;
//     button {
//       width: 180px;
//       color: @bluebtn;
//       height: 38px;
//       background: none;
//       border: solid 1px @bluebtn;
//     }
//     button:hover {
//       color: #fff;
//       background: @bluebtn;
//     }
//     .layui-btn-success {
//       border: solid 1px @greenbtn;
//       color: @greenbtn;
//     }
//     .layui-btn-success:hover {
//       background: @greenbtn;
//     }
//   }
// }
//**********************//
table {
  .layui-form-checkbox {
    width: 20px;
    margin-right: 0;
    padding-right: 20px;
    line-height: 20px;
    height: 20px;
    i {
      width: 20px;
      height: 18px;
      font-size: 14px;
      border: solid 1px #ccc;
    }
  }
}

/**************重置表单样式**************/
form {
  position: relative;
}
.formbtn {
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  background: #fff;
  z-index: 99;
  button {
    margin: 10px;
  }
}
.form-content {
  padding-top: 42px;
}
.form-group-table {
  display: table;
  input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .input-group-addon {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #ccc;
  }
}
.layui-table th.text-c {
  text-align: center;
}

//*****************8行拖拽*************/
.reorder_rows_onDragClass td {
  background-color: #eee;
  -webkit-box-shadow: 11px 5px 12px 2px #333, 0 1px 0 #ccc inset,
    0 -1px 0 #ccc inset;
  -webkit-box-shadow: 6px 3px 5px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
  -moz-box-shadow: 6px 4px 5px 1px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
  -box-shadow: 6px 4px 5px 1px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
}

.reorder_rows_onDragClass td:last-child {
  -webkit-box-shadow: 8px 7px 12px 0 #333, 0 1px 0 #ccc inset,
    0 -1px 0 #ccc inset;
  -webkit-box-shadow: 1px 8px 6px -4px #555, 0 1px 0 #ccc inset,
    0 -1px 0 #ccc inset;
  -moz-box-shadow: 0 9px 4px -4px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset,
    -1px 0 0 #ccc inset;
  -box-shadow: 0 9px 4px -4px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset,
    -1px 0 0 #ccc inset;
}
/*##### the dragtable stuff #####*/
.dragtable-sortable {
  list-style-type: none;
  margin: 0;
  padding: 0;
  -moz-user-select: none;
}
.dragtable-sortable li {
  margin: 0;
  padding: 0;
  float: left;
  font-size: 1em;
  background: white;
}

.dragtable-sortable th,
.dragtable-sortable td {
  border-left: 0px;
}

.dragtable-sortable li:first-child th,
.dragtable-sortable li:first-child td {
  border-left: 1px solid #ccc;
}

.ui-sortable-helper {
  opacity: 0.7;
  filter: alpha(opacity=70);
}
.ui-sortable-placeholder {
  -moz-box-shadow: 4px 5px 4px #c6c6c6 inset;
  -webkit-box-shadow: 4px 5px 4px #c6c6c6 inset;
  box-shadow: 4px 5px 4px #c6c6c6 inset;
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
  visibility: visible !important;
  background: #efefef !important;
  visibility: visible !important;
}
.ui-sortable-placeholder * {
  opacity: 0;
  visibility: hidden;
}
